/**
 * Created by IntelliJ IDEA.
 * @Author: xuybang
 * @version: 2017/5/22.
 * To change this template use File | Settings | File Templates.
 */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {

  -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold 禁止显示系统菜单 */
  -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit 字体小于12px不生效*/
  -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' 禁止用户选择文本 */
  background-color: #E4E4E4;
  font-family: 'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  height: 100%;
  margin: 0px;
  padding: 0px;
  //text-transform: uppercase;
  width: 100%;

  .mui-pull-top-tips {
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -25px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    z-index: 1;
    .mui-pull-top-wrapper {
      width: 42px;
      height: 42px;
      display: block;
      text-align: center;
      background-color: #efeff4;
      border: 1px solid #ddd;
      border-radius: 25px;
      background-clip: padding-box;
      box-shadow: 0 4px 10px #bbb;
      overflow: hidden;
      .mui-icon, .mui-spinner {
        margin-top: 7px;
      }

      .mui-pull-top-canvas {
        overflow: hidden;
        background-color: #fafafa;
        border-radius: 40px;
        box-shadow: 0 4px 10px #bbb;
        width: 40px;
        height: 40px;
        margin: 0 auto;
        canvas {
          width: 40px;
        }
      }
    }
    &.mui-transitioning {
      -webkit-transition-duration: 200ms;
      transition-duration: 200ms;
    }
    .mui-pull-loading {
      /*-webkit-backface-visibility: hidden;
      -webkit-transition-duration: 400ms;
      transition-duration: 400ms;*/

      margin: 0;
    }
  }
  .mui-bar ~ .mui-pull-top-tips {
    top: 24px;
  }
  .app {
    h1 {
      font-size: 24px;
      font-weight: normal;
      margin: 0px;
      overflow: visible;
      padding: 0px;
      text-align: center;
    }
  }
  #index {
    height: 100%;
    width: 100%;
    .km-header {
      .km-navbar {
        .km-leftitem {
          .follow {
            margin-left: 5px;
          }
          .follow:after {
            content: '';
            border-width: 7px 6px 0px 6px;
            border-style: solid;
            border-color: #0a0a0a transparent transparent transparent;
            display: inline-block;
            margin-left: 5px;
          }
        }
      }
    }
    .km-content {
      width: 100%;
      height: 100%;
      #content {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        .mui-fullscreen {
          top: 0px;
          height: auto;
          .special {
            position: relative;
            div.item {
              padding: 15px 10px;
              overflow: hidden;
              background: #fff;
              border-bottom: 1px solid #f4f4f4;
              img.image_avatar {
                width: 40px;
                height: 40px;
                float: left;
                -webkit-border-radius: 5px;
                -moz-border-radius: 5px;
                border-radius: 5px;
              }
              div.spec_con {
                padding-left: 40px;
                p.title {
                  color: #000;
                  font-size: 16px;
                  height: 25px;
                  line-height: 25px;
                }
                p.desc {
                  font-size: 12px;
                  color: #ababab;
                  height: 15px;
                  line-height: 15px;
                }
              }
              &:last-child {
                border: 0;
              }
            }
          }

        }
        .mui-pull-bottom-tips {
          text-align: center;
          background-color: rgb(244, 244, 244);
          font-size: 15px;
          line-height: 40px;
          color: #777;

        }

        .mui-slider-indicator.mui-segmented-control {
          background-color: #efeff4;
        }
      }
      .menu-backdrop {
        position: fixed;
        z-index: 2;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0);
        display: none;
        .popup_menu_follow {
          position: absolute;
          top: 10px;
          left: 10px;
          background: #fff;
          z-index: 3;
          ul.list {
            padding: 0 20px 0 10px;
            li.item {
              line-height: 36px;
              span {
                font-size: 14px;
              }
              &.active {
                color: #1296DB;
              }
            }
          }
        }
      }
      img {
        width: 60px;
        height: 60px;
      }
      .back {
        position: fixed;
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        background: #0a0a0a;
      }
    }
  }
}

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width: 400px) {
  .app {
    background-position: left center;
    padding: 75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */
    margin: -90px 0px 0px -198px; /* offset vertical: half of image height */
  }
}
